package com.moons.uvcdemo;

import java.lang.reflect.Array;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;

import android.content.Context;
import android.os.Environment;
import android.os.storage.StorageManager;

import com.moons.uvcdemo.utils.ApplicationMe;

public class TmStorageUtils {
	private static final String TAG = "TmStorageUtils";
	private Context mcontext = null;
	private static ArrayList<String> usblist = new ArrayList<String>();
	private static ArrayList<String> usbsrotlist = new ArrayList<String>();
	private static int usbnum = 0;
	protected StorageManager mStorageManager;
	private boolean isReady = false;

	public TmStorageUtils() {
		mcontext = ApplicationMe.getAppContext();

	}
	// 路径为:/storage/emulated/0
	public String getInSdPath() {
		String sdcardState = ""; // 内部SD卡
		return sdcardState = Environment.getExternalStorageDirectory()
				.getAbsolutePath();
	}

	public String getusb1Path() {
		String usb1path = "/mnt/media_rw/";
		return usb1path;

	}
}
